<!DOCTYPE html>
<html>
  <head>
    <style>
      @import url("data:text/css,.import { color: green }");
      div { color: red }
      @media {
        .media { color: green }
      }
    </style>
  </head>
  <body>
    <div class="import">test</div>
    <div class="media">test</div>
  <body>
</html>
